﻿using DFGK_WMS.Model.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DFGK_WMS.IRepository
{
    public interface ITMaterialWikiRepository:IBaseRepository<TMaterialWiki>
    {
        bool AddTMaterialWiki(TMaterialWiki m);

        bool DelTMaterialWiki(int mid);

        bool UpdTMaterialWiki(TMaterialWiki m);

        TMaterialWiki GetTMaterialWikiById(int mid);

        List<TMaterialWiki> GetTMaterialWikiList(string mname, int pageIndex, int pageSize, out int totalCount);
    }
}
